<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html lang="zh-CN">
	<head>
		<title>修改个人信息 - 用户中心</title>
		<%@ include file="/common/include/title.jsp" %>
	</head>
	<body>
		<%-- 静态包含 --%>
		<%@ include file="/common/include/header.jsp" %>
		
		<div class="container-fluid">
			<div class="row">
				<div class="col-sm-8 col-sm-offset-1 main">
					<h2 class="sub-header">修改管理员</h2>
	
					<form id="form" class="form-horizontal" method="post"
						action="${pageContext.request.contextPath }/back/OrdersBackServlet?method=orderUpdateSubmit">
						<input type="hidden" name="aid" value="${requestScope.order.id }"/>
						
						<div class="form-group">
							<label for="usersId" class="col-sm-2 control-label">用户Id:</label>
							<div class="col-sm-8">
								<input type="text" id="usersId" name="usersId" value="${requestScope.order.usersId }"
									class="form-control" placeholder="用户Id">
							</div>
						</div>
						<div class="form-group">
							<label for="bikeId" class="col-sm-2 control-label">自行车表Id:</label>
							<div class="col-sm-8">
								<input type="text" id="bikeId" name="bikeId" value="${requestScope.order.bikeId }"
									class="form-control" placeholder="自行车表Id">
							</div>
						</div>				
						<div class="form-group">
							<label for="name" class="col-sm-2 control-label">名称:</label>
							<div class="col-sm-8">
								<input type="text" id="name" name="name" value="${requestScope.order.name }"
									class="form-control" placeholder="名称">
							</div>
						</div>
							<div class="form-group">
							<label for="consumeTime" class="col-sm-2 control-label">耗时:</label>
							<div class="col-sm-8">
								<input type="text" id="consumeTime" name="consumeTime" value="${requestScope.order.consumeTime }"
									class="form-control" placeholder="耗时">
							</div>
						</div>
						<div class="form-group">
							<label for="totalPrice" class="col-sm-2 control-label">总价格:</label>
							<div class="col-sm-8">
								<input type="text" id="totalPrice" name="totalPrice" value="${requestScope.order.totalPrice }"
									class="form-control" placeholder="总价格">
							</div>
						</div>
						<div class="form-group">
							<label for="repairContent" class="col-sm-2 control-label">报修内容:</label>
							<div class="col-sm-8">
								<input type="text" id="repairContent" name="repairContent" value="${requestScope.order.repairContent }"
									class="form-control" placeholder="报修内容">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-2 control-label">状态:</label>
							<div class="col-sm-8">
								<input type="radio" name="status" id="status0" value="0" ${requestScope.order.status == '0' ? 'checked' : '' }>
								<label for="status0">下单</label>
								<input type="radio" name="status" id="status1" value="10" ${requestScope.order.status == '10' ? 'checked' : '' }>
								<label for="status1">进行中</label>					
								<input type="radio" name="status" id="status2" value="20" ${requestScope.order.status == '20' ? 'checked' : '' }>
								<label for="status2">已还车</label>
								<input type="radio" name="status" id="status3" value="30" ${requestScope.order.status == '30' ? 'checked' : '' }>
								<label for="status3">已付款</label>
								<input type="radio" name="status" id="status4" value="40" ${requestScope.order.status == '40' ? 'checked' : '' }>
								<label for="status4">报修</label>
							</div>
						</div>
						<div class="form-group">
							<div class="col-sm-8 col-sm-offset-2">
								<button class="btn btn-lg btn-primary" type="submit">提交</button>
							</div>
						</div>
					</form>
				</div>
			</div>
		</div>
	
	
		<!-- 提示信息 -->
		<div class="container">
			<div class="col-sm-8 col-sm-offset-1">
				${requestScope.info }
			</div>
		</div>
		<%-- 包含一下脚 --%>
		<%@ include file="/common/include/footer.jsp" %>	
	</body>
</html>